<?php
class Profile extends Public_Controller {

    public function __construct() {
        parent::__construct();
        $this->_load();
    }

    public function index() {
        //$this->_runHttps();

        $this->_replacePhrase();
    }

    private function _load() {
        $this->load->helper(array('url', 'form'));
        $this->load->model('user');
    }

    private function _replacePhrase() {
        $this->lang->load('admin/general', $this->_slang_name);
        $this->lang->load('admin/login', $this->_slang_name);
        $this->fill_phrase('login', array('sloginFail' => $this->_serror), $this->lang->language);
    }
}
?>
